package decorator_mode

type Egg struct {
	noddles Noddles
	name    string
	price   float64
}

func (e Egg) Description() string {
	return e.name
}

func (e Egg) Price() float64 {
	return e.price
}

func (e Egg) Noddles() Noddles {
	return e.noddles
}
